package com.blue.jdbc.model;

import java.util.Date;

import com.blue.jdbc.annotation.Id;
import com.blue.jdbc.annotation.Must;
import com.blue.jdbc.annotation.Table;

@Table(name = "person")
public class Person
{
	@Id
	private Integer id;
	private String name;
	private Date birthday;
	@Must
	private String descp;

	public Person()
	{
	}

	public Integer getId()
	{
		return id;
	}

	public void setId(Integer id)
	{
		this.id = id;
	}

	public String getName()
	{
		return name;
	}

	public void setName(String name)
	{
		this.name = name;
	}

	public Date getBirthday()
	{
		return birthday;
	}

	public void setBirthday(Date birthday)
	{
		this.birthday = birthday;
	}

	public String getDescp()
	{
		return descp;
	}

	public void setDescp(String descp)
	{
		this.descp = descp;
	}

}
